package study.rocketmq.sink;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author juede.tcever
 */
public interface CustomerSink {

    String USER_INPUT = "user-input";

    String ORDER_INPUT = "order-input";

    @Input(CustomerSink.USER_INPUT)
    SubscribableChannel userInput();

    @Input(CustomerSink.ORDER_INPUT)
    SubscribableChannel orderInput();
}
